from django.conf.urls.defaults import *

urlpatterns = patterns('',
	(r'^courses/?$', 'caddy.caddy.views.courses'),
	(r'^course/(?P<course_key>[^\.^/]*)/?$', 'caddy.caddy.views.course'),
	
	(r'^hole/(?P<hole_id>[^\.^/]+)/?$', 'caddy.caddy.views.hole'),
	
	(r'^golfer/(?P<golfer_key>[^\.^/]*)/?$', 'caddy.caddy.views.golfer'),
	(r'^golfers/?$', 'caddy.caddy.views.golfers'),
)
